{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nvar genSizeStyle = function genSizeStyle(token) {\n  var componentCls = token.componentCls;\n  var getSizeStyle = function getSizeStyle(size, paddingVertical, paddingHorizontal, fontSize) {\n    var _$concat$concat$conca;\n    return _defineProperty({}, \"\".concat(componentCls).concat(componentCls, \"-\").concat(size), (_$concat$concat$conca = {\n      fontSize: fontSize\n    }, _defineProperty(_$concat$concat$conca, \"\\n        \".concat(componentCls, \"-title,\\n        \").concat(componentCls, \"-footer,\\n        \").concat(componentCls, \"-thead > tr > th,\\n        \").concat(componentCls, \"-tbody > tr > td,\\n        tfoot > tr > th,\\n        tfoot > tr > td\\n      \"), {\n      padding: \"\".concat(paddingVertical, \"px \").concat(paddingHorizontal, \"px\")\n    }), _defineProperty(_$concat$concat$conca, \"\".concat(componentCls, \"-filter-trigger\"), {\n      marginInlineEnd: \"-\".concat(paddingHorizontal / 2, \"px\")\n    }), _defineProperty(_$concat$concat$conca, \"\".concat(componentCls, \"-expanded-row-fixed\"), {\n      margin: \"-\".concat(paddingVertical, \"px -\").concat(paddingHorizontal, \"px\")\n    }), _defineProperty(_$concat$concat$conca, \"\".concat(componentCls, \"-tbody\"), _defineProperty({}, \"\".concat(componentCls, \"-wrapper:only-child \").concat(componentCls), {\n      marginBlock: \"-\".concat(paddingVertical, \"px\"),\n      marginInline: \"\".concat(token.tableExpandColumnWidth - paddingHorizontal, \"px -\").concat(paddingHorizontal, \"px\")\n    })), _defineProperty(_$concat$concat$conca, \"\".concat(componentCls, \"-selection-column\"), {\n      paddingInlineStart: \"\".concat(paddingHorizontal / 4, \"px\")\n    }), _$concat$concat$conca));\n  };\n  return _defineProperty({}, \"\".concat(componentCls, \"-wrapper\"), Object.assign(Object.assign({}, getSizeStyle('middle', token.tablePaddingVerticalMiddle, token.tablePaddingHorizontalMiddle, token.tableFontSizeMiddle)), getSizeStyle('small', token.tablePaddingVerticalSmall, token.tablePaddingHorizontalSmall, token.tableFontSizeSmall)));\n};\nexport default genSizeStyle;","map":{"version":3,"names":["genSizeStyle","token","componentCls","getSizeStyle","size","paddingVertical","paddingHorizontal","fontSize","padding","marginInlineEnd","margin","marginBlock","marginInline","tableExpandColumnWidth","paddingInlineStart","Object","assign","tablePaddingVerticalMiddle","tablePaddingHorizontalMiddle","tableFontSizeMiddle","tablePaddingVerticalSmall","tablePaddingHorizontalSmall","tableFontSizeSmall"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/table/style/size.js"],"sourcesContent":["const genSizeStyle = token => {\n  const {\n    componentCls\n  } = token;\n  const getSizeStyle = (size, paddingVertical, paddingHorizontal, fontSize) => ({\n    [`${componentCls}${componentCls}-${size}`]: {\n      fontSize,\n      [`\n        ${componentCls}-title,\n        ${componentCls}-footer,\n        ${componentCls}-thead > tr > th,\n        ${componentCls}-tbody > tr > td,\n        tfoot > tr > th,\n        tfoot > tr > td\n      `]: {\n        padding: `${paddingVertical}px ${paddingHorizontal}px`\n      },\n      [`${componentCls}-filter-trigger`]: {\n        marginInlineEnd: `-${paddingHorizontal / 2}px`\n      },\n      [`${componentCls}-expanded-row-fixed`]: {\n        margin: `-${paddingVertical}px -${paddingHorizontal}px`\n      },\n      [`${componentCls}-tbody`]: {\n        // ========================= Nest Table ===========================\n        [`${componentCls}-wrapper:only-child ${componentCls}`]: {\n          marginBlock: `-${paddingVertical}px`,\n          marginInline: `${token.tableExpandColumnWidth - paddingHorizontal}px -${paddingHorizontal}px`\n        }\n      },\n      // https://github.com/ant-design/ant-design/issues/35167\n      [`${componentCls}-selection-column`]: {\n        paddingInlineStart: `${paddingHorizontal / 4}px`\n      }\n    }\n  });\n  return {\n    [`${componentCls}-wrapper`]: Object.assign(Object.assign({}, getSizeStyle('middle', token.tablePaddingVerticalMiddle, token.tablePaddingHorizontalMiddle, token.tableFontSizeMiddle)), getSizeStyle('small', token.tablePaddingVerticalSmall, token.tablePaddingH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